package com.tencent.sr.iris.activity.service.activity.impl;

import com.tencent.sr.iris.activity.interfaces.enums.ActivityIdEnum;
import com.tencent.sr.iris.activity.interfaces.request.acticity.BatchDataRequest;
import com.tencent.sr.iris.activity.interfaces.response.activity.BatchStatisticsResponse;
import com.tencent.sr.iris.activity.service.activity.AbstractNormalStatisticsHandler;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;

@Component
public class NormalStatisticsHandler extends AbstractNormalStatisticsHandler {

    @Override
    public BatchStatisticsResponse statistics(BatchDataRequest request) {
        return statisticNormalOrSpecial(false, request);
    }

    @Override
    public List<String> supportedActivityIds() {
        return Arrays.asList(ActivityIdEnum.INVITE_GIFT.getCode(),
                ActivityIdEnum.SPECIAL_INVITE_REWARD.getCode());
    }

}
